package com.sw.example.demo2.configurer;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Component
public class Demo2Properties {
	
	@Value("${com.sw.example.demo2.name}")
	private String name;
	
	@Value("${com.sw.example.demo2.title}")
	private String title;
	
	@Value("${com.sw.example.demo2.value}")
    private String value;
	
    @Value("${com.sw.example.demo2.number}")
    private Integer number;
    
    @Value("${com.sw.example.demo2.bignumber}")
    private Long bignumber;
    
    @Value("${com.sw.example.demo2.test1}")
    private Integer test1;
    
    @Value("${com.sw.example.demo2.test2}")
    private Integer test2;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getValue() {
		return value;
	}

	public void setValue(String value) {
		this.value = value;
	}

	public Integer getNumber() {
		return number;
	}

	public void setNumber(Integer number) {
		this.number = number;
	}

	public Long getBignumber() {
		return bignumber;
	}

	public void setBignumber(Long bignumber) {
		this.bignumber = bignumber;
	}

	public Integer getTest1() {
		return test1;
	}

	public void setTest1(Integer test1) {
		this.test1 = test1;
	}

	public Integer getTest2() {
		return test2;
	}

	public void setTest2(Integer test2) {
		this.test2 = test2;
	}
	
	
	
	

}
